home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10307 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file HTML document, ASCII text default (weak)
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 74 6e 65 77 73 2e 75 74 |Path: ne|tnews.ut|
|00000010| 68 73 63 73 61 2e 65 64 | 75 21 75 73 65 6e 65 74 |hscsa.ed|u!usenet|
|00000020| 0a 46 72 6f 6d 3a 20 4d | 65 72 61 72 64 6f 20 4d |.From: M|erardo M|
|00000030| 6f 6e 7a 6f 6e 20 3c 4d | 6f 6e 7a 6f 6e 40 75 74 |onzon <M|onzon@ut|
|00000040| 68 73 63 73 61 2e 65 64 | 75 3e 0a 4e 65 77 73 67 |hscsa.ed|u>.Newsg|
|00000050| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 6c 61 6e 67 |roups: c|omp.lang|
|00000060| 2e 63 0a 53 75 62 6a 65 | 63 74 3a 20 53 79 6d 61 |.c.Subje|ct: Syma|
|00000070| 6e 74 65 63 20 43 2b 2b | 20 37 2e 30 2e 36 0a 44 |ntec C++| 7.0.6.D|
|00000080| 61 74 65 3a 20 53 61 74 | 2c 20 31 36 20 4d 61 72 |ate: Sat|, 16 Mar|
|00000090| 20 31 39 39 36 20 31 32 | 3a 32 30 3a 31 38 20 2b | 1996 12|:20:18 +|
|000000a0| 30 30 30 30 0a 4f 72 67 | 61 6e 69 7a 61 74 69 6f |0000.Org|anizatio|
|000000b0| 6e 3a 20 55 2e 54 2e 20 | 48 65 61 6c 74 68 20 53 |n: U.T. |Health S|
|000000c0| 63 69 65 6e 63 65 20 43 | 65 6e 74 65 72 0a 4d 65 |cience C|enter.Me|
|000000d0| 73 73 61 67 65 2d 49 44 | 3a 20 3c 33 31 34 41 42 |ssage-ID|: <314AB|
|000000e0| 32 30 32 2e 32 31 36 36 | 40 75 74 68 73 63 73 61 |202.2166|@uthscsa|
|000000f0| 2e 65 64 75 3e 0a 52 65 | 70 6c 79 2d 54 6f 3a 20 |.edu>.Re|ply-To: |
|00000100| 4d 6f 6e 7a 6f 6e 40 75 | 74 68 73 63 73 61 2e 65 |Monzon@u|thscsa.e|
|00000110| 64 75 0a 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |du.NNTP-|Posting-|
|00000120| 48 6f 73 74 3a 20 61 63 | 6c 61 62 32 2e 75 74 68 |Host: ac|lab2.uth|
|00000130| 73 63 73 61 2e 65 64 75 | 0a 4d 69 6d 65 2d 56 65 |scsa.edu|.Mime-Ve|
|00000140| 72 73 69 6f 6e 3a 20 31 | 2e 30 0a 43 6f 6e 74 65 |rsion: 1|.0.Conte|
|00000150| 6e 74 2d 54 79 70 65 3a | 20 74 65 78 74 2f 70 6c |nt-Type:| text/pl|
|00000160| 61 69 6e 3b 20 63 68 61 | 72 73 65 74 3d 75 73 2d |ain; cha|rset=us-|
|00000170| 61 73 63 69 69 0a 43 6f | 6e 74 65 6e 74 2d 54 72 |ascii.Co|ntent-Tr|
|00000180| 61 6e 73 66 65 72 2d 45 | 6e 63 6f 64 69 6e 67 3a |ansfer-E|ncoding:|
|00000190| 20 37 62 69 74 0a 58 2d | 4d 61 69 6c 65 72 3a 20 | 7bit.X-|Mailer: |
|000001a0| 4d 6f 7a 69 6c 6c 61 20 | 32 2e 30 20 28 4d 61 63 |Mozilla |2.0 (Mac|
|000001b0| 69 6e 74 6f 73 68 3b 20 | 49 3b 20 36 38 4b 29 0a |intosh; |I; 68K).|
|000001c0| 0a 63 68 61 72 20 74 48 | 64 5b 5d 20 3d 20 7b 0a |.char tH|d[] = {.|
|000001d0| 22 3c 46 4f 4e 54 20 53 | 49 5a 45 3d 33 3e 3c 43 |"<FONT S|IZE=3><C|
|000001e0| 45 4e 54 45 52 3e 5c 6e | 3c 44 4c 3e 5c 6e 20 5c |ENTER>\n|<DL>\n \|
|000001f0| 0a 3c 44 44 3e 3c 41 20 | 48 52 45 46 3d 5c 22 23 |.<DD><A |HREF=\"#|
|00000200| 50 52 5f 4a 4f 4e 44 4f | 45 31 5c 22 3e 4f 6e 65 |PR_JONDO|E1\">One|
|00000210| 3c 2f 41 3e 20 5c 6e 20 | 5c 0a 3c 44 44 3e 3c 41 |</A> \n |\.<DD><A|
|00000220| 20 48 52 45 46 3d 5c 22 | 23 50 52 5f 4a 4f 4e 44 | HREF=\"|#PR_JOND|
|00000230| 4f 45 32 5c 22 3e 54 77 | 6f 3c 2f 41 3e 5c 6e 20 |OE2\">Tw|o</A>\n |
|00000240| 5c 0a 3c 44 44 3e 3c 41 | 20 48 52 45 46 3d 5c 22 |\.<DD><A| HREF=\"|
|00000250| 23 50 52 5f 4a 4f 4e 44 | 4f 45 33 5c 22 3e 54 68 |#PR_JOND|OE3\">Th|
|00000260| 72 65 65 3c 2f 41 3e 20 | 5c 6e 20 5c 0a 3c 44 44 |ree</A> |\n \.<DD|
|00000270| 3e 3c 41 20 48 52 45 46 | 3d 5c 22 23 50 52 5f 4a |><A HREF|=\"#PR_J|
|00000280| 4f 4e 44 4f 45 34 5c 22 | 3e 46 6f 75 72 3c 2f 41 |ONDOE4\"|>Four</A|
|00000290| 3e 20 5c 6e 20 5c 0a 3c | 44 44 3e 3c 41 20 48 52 |> \n \.<|DD><A HR|
|000002a0| 45 46 3d 5c 22 23 50 52 | 5f 4a 4f 4e 44 4f 45 35 |EF=\"#PR|_JONDOE5|
|000002b0| 5c 22 3e 46 69 76 65 3c | 2f 41 3e 20 5c 6e 20 5c |\">Five<|/A> \n \|
|000002c0| 0a 3c 44 44 3e 3c 41 20 | 48 52 45 46 3d 5c 22 23 |.<DD><A |HREF=\"#|
|000002d0| 50 52 5f 4a 4f 4e 44 4f | 45 36 5c 22 3e 53 69 78 |PR_JONDO|E6\">Six|
|000002e0| 3c 2f 41 3e 5c 6e 20 5c | 0a 3c 44 44 3e 3c 41 20 |</A>\n \|.<DD><A |
|000002f0| 48 52 45 46 3d 5c 22 23 | 50 52 5f 4a 4f 4e 44 4f |HREF=\"#|PR_JONDO|
|00000300| 45 37 5c 22 3e 53 65 76 | 65 6e 3c 2f 41 3e 20 5c |E7\">Sev|en</A> \|
|00000310| 6e 20 5c 0a 3c 44 44 3e | 3c 41 20 48 52 45 46 3d |n \.<DD>|<A HREF=|
|00000320| 5c 22 23 50 52 5f 4a 4f | 4e 44 4f 45 38 5c 22 3e |\"#PR_JO|NDOE8\">|
|00000330| 45 69 67 68 74 3c 2f 41 | 3e 20 5c 6e 20 5c 0a 3c |Eight</A|> \n \.<|
|00000340| 44 44 3e 3c 41 20 48 52 | 45 46 3d 5c 22 23 50 52 |DD><A HR|EF=\"#PR|
|00000350| 5f 4a 4f 4e 44 4f 45 39 | 5c 22 3e 4e 69 6e 65 3c |_JONDOE9|\">Nine<|
|00000360| 2f 41 3e 5c 6e 20 5c 0a | 3c 44 44 3e 3c 41 20 48 |/A>\n \.|<DD><A H|
|00000370| 52 45 46 3d 5c 22 23 50 | 52 5f 4a 4f 4e 44 4f 45 |REF=\"#P|R_JONDOE|
|00000380| 31 30 5c 22 3e 54 65 6e | 3c 2f 41 3e 5c 6e 20 5c |10\">Ten|</A>\n \|
|00000390| 0a 3c 44 44 3e 3c 41 20 | 48 52 45 46 3d 5c 22 23 |.<DD><A |HREF=\"#|
|000003a0| 50 52 5f 4a 4f 4e 44 4f | 45 31 31 5c 22 3e 45 6c |PR_JONDO|E11\">El|
|000003b0| 65 76 65 6e 3c 2f 41 3e | 5c 6e 20 5c 0a 3c 44 44 |even</A>|\n \.<DD|
|000003c0| 3e 3c 41 20 48 52 45 46 | 3d 5c 22 23 50 52 5f 4a |><A HREF|=\"#PR_J|
|000003d0| 4f 4e 44 4f 45 31 32 5c | 22 3e 54 77 65 6c 76 65 |ONDOE12\|">Twelve|
|000003e0| 3c 2f 41 3e 5c 6e 20 5c | 0a 3c 44 44 3e 3c 41 20 |</A>\n \|.<DD><A |
|000003f0| 48 52 45 46 3d 5c 22 23 | 50 52 5f 4a 4f 4e 44 4f |HREF=\"#|PR_JONDO|
|00000400| 45 31 33 5c 22 3e 54 68 | 69 72 64 74 65 65 6e 3c |E13\">Th|irdteen<|
|00000410| 2f 41 3e 20 5c 6e 20 5c | 0a 3c 44 44 3e 3c 41 20 |/A> \n \|.<DD><A |
|00000420| 48 52 45 46 3d 5c 22 23 | 50 52 5f 4a 4f 4e 44 4f |HREF=\"#|PR_JONDO|
|00000430| 45 31 34 5c 22 3e 46 6f | 75 72 74 65 65 6e 3c 2f |E14\">Fo|urteen</|
|00000440| 41 3e 5c 6e 20 5c 0a 3c | 2f 44 4c 3e 3c 2f 43 65 |A>\n \.<|/DL></Ce|
|00000450| 6e 74 65 72 3e 3c 2f 46 | 6f 6e 74 3e 5c 6e 3c 62 |nter></F|ont>\n<b|
|00000460| 72 3e 3c 70 72 65 3e 22 | 0a 7d 3b 0a 0a 09 49 20 |r><pre>"|.};...I |
|00000470| 68 61 76 65 20 74 68 65 | 20 61 62 6f 76 65 20 67 |have the| above g|
|00000480| 6c 6f 62 61 6c 20 63 68 | 61 72 61 63 74 65 72 20 |lobal ch|aracter |
|00000490| 74 79 70 65 20 61 72 72 | 61 79 20 64 65 63 6c 61 |type arr|ay decla|
|000004a0| 72 65 64 2e 20 20 49 20 | 75 73 65 20 74 68 65 0a |red. I |use the.|
|000004b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 64 65 20 | followi|ng code |
|000004c0| 74 6f 20 6d 6f 76 65 20 | 6f 72 20 63 6f 70 79 20 |to move |or copy |
|000004d0| 74 68 65 20 63 6f 6e 74 | 65 6e 74 20 6f 66 20 74 |the cont|ent of t|
|000004e0| 68 65 20 61 72 72 61 79 | 20 74 6f 20 61 20 0a 62 |he array| to a .b|
|000004f0| 75 66 66 65 72 2e 0a 09 | 09 09 09 20 20 20 6c 6e |uffer...|... ln|
|00000500| 20 3d 20 73 74 72 6c 65 | 6e 28 20 74 48 64 20 29 | = strle|n( tHd )|
|00000510| 3b 0a 20 20 20 20 20 20 | 20 6d 65 6d 6d 6f 76 65 |;. | memmove|
|00000520| 28 62 75 66 66 65 72 2b | 6c 6e 2c 20 62 75 66 66 |(buffer+|ln, buff|
|00000530| 65 72 2c 20 6c 65 6e 4f | 66 42 75 66 66 65 72 29 |er, lenO|fBuffer)|
|00000540| 3b 20 2f 2f 20 69 6e 73 | 65 72 74 20 63 6f 6e 74 |; // ins|ert cont|
|00000550| 65 6e 74 20 6f 66 0a 09 | 20 20 20 20 20 20 6d 65 |ent of..| me|
|00000560| 6d 6d 6f 76 65 28 62 75 | 66 66 65 72 2c 20 74 48 |mmove(bu|ffer, tH|
|00000570| 64 2c 20 6c 6e 29 3b 09 | 09 09 2f 2f 20 74 48 64 |d, ln);.|..// tHd|
|00000580| 2e 0a 0a 4e 6f 77 2c 20 | 74 68 65 20 70 72 6f 62 |...Now, |the prob|
|00000590| 6c 65 6d 20 49 20 6e 65 | 65 64 20 68 65 6c 70 20 |lem I ne|ed help |
|000005a0| 77 69 74 68 20 69 73 20 | 74 68 61 74 20 6f 6e 6c |with is |that onl|
|000005b0| 79 20 61 20 70 6f 72 74 | 69 6f 6e 20 6f 66 20 74 |y a port|ion of t|
|000005c0| 68 65 0a 61 72 72 61 79 | 20 74 48 64 20 69 73 20 |he.array| tHd is |
|000005d0| 6d 6f 76 65 64 20 74 6f | 20 74 68 65 20 62 75 66 |moved to| the buf|
|000005e0| 66 65 72 2e 20 20 49 20 | 63 6f 6d 70 69 6c 65 64 |fer. I |compiled|
|000005f0| 20 74 68 65 20 63 6f 64 | 65 20 69 6e 20 42 6f 72 | the cod|e in Bor|
|00000600| 6c 61 6e 64 20 0a 43 2f | 43 2b 2b 20 6f 6e 20 74 |land .C/|C++ on t|
|00000610| 68 65 20 50 43 20 61 6e | 64 20 74 68 65 20 65 6e |he PC an|d the en|
|00000620| 74 69 72 65 20 63 6f 6e | 74 65 6e 74 20 6f 66 20 |tire con|tent of |
|00000630| 74 68 65 20 61 72 72 61 | 79 20 77 61 73 20 6d 6f |the arra|y was mo|
|00000640| 76 65 64 20 74 6f 20 74 | 68 65 0a 62 75 66 66 65 |ved to t|he.buffe|
|00000650| 72 2e 20 20 4f 6e 20 74 | 68 65 20 4d 61 63 20 75 |r. On t|he Mac u|
|00000660| 73 69 6e 67 20 53 79 6d | 61 6e 74 65 63 20 43 2b |sing Sym|antec C+|
|00000670| 2b 20 37 2e 30 2e 36 20 | 74 68 65 20 63 6f 6e 74 |+ 7.0.6 |the cont|
|00000680| 65 6e 74 20 6f 66 20 74 | 68 65 20 0a 61 72 72 61 |ent of t|he .arra|
|00000690| 79 20 69 73 20 6d 6f 76 | 65 64 20 75 70 20 74 6f |y is mov|ed up to|
|000006a0| 20 22 45 6c 65 76 65 6e | 22 2e 20 20 0a 0a 49 66 | "Eleven|". ..If|
|000006b0| 20 79 6f 75 20 68 61 76 | 65 20 61 6e 79 20 69 64 | you hav|e any id|
|000006c0| 65 61 20 77 68 61 74 20 | 69 73 20 67 6f 69 6e 67 |ea what |is going|
|000006d0| 20 6f 6e 20 68 65 72 65 | 2c 20 70 6c 65 61 73 65 | on here|, please|
|000006e0| 20 79 6f 75 72 20 72 65 | 73 70 6f 6e 64 20 0a 64 | your re|spond .d|
|000006f0| 69 72 65 63 74 6c 79 20 | 74 6f 20 6d 79 20 65 2d |irectly |to my e-|
|00000700| 6d 61 69 6c 20 61 64 64 | 72 65 73 73 2e 20 20 54 |mail add|ress. T|
|00000710| 68 61 6e 6b 73 21 0a 0a | 4d 65 72 61 72 64 6f 20 |hanks!..|Merardo |
|00000720| 4d 6f 6e 7a 6f 6e 0a 4d | 6f 6e 7a 6f 6e 40 75 74 |Monzon.M|onzon@ut|
|00000730| 68 73 63 73 61 2e 65 64 | 75 0a 55 2e 54 2e 20 48 |hscsa.ed|u.U.T. H|
|00000740| 65 61 6c 74 20 53 63 69 | 65 6e 63 65 20 43 65 6e |ealt Sci|ence Cen|
|00000750| 74 65 72 20 61 74 20 53 | 61 6e 20 41 6e 74 6f 6e |ter at S|an Anton|
|00000760| 69 6f 2c 20 74 78 0a | |io, tx. | |
+--------+-------------------------+-------------------------+--------+--------+